import 'package:flutter_taotaoshipin/generated/json/base/json_field.dart';
import 'package:flutter_taotaoshipin/generated/json/user_cancel_entity.g.dart';
import 'dart:convert';

@JsonSerializable()
class UserCancelEntity {
	int? state;

	UserCancelEntity();

	factory UserCancelEntity.fromJson(Map<String, dynamic> json) => $UserCancelEntityFromJson(json);

	Map<String, dynamic> toJson() => $UserCancelEntityToJson(this);

	UserCancelEntity copyWith({int? state}) {
		return UserCancelEntity()
			..state= state ?? this.state;
	}

	@override
	String toString() {
		return jsonEncode(this);
	}
}